﻿//
//  Windows_libc
//
//  Created by  cc_team(陈旭，陈曦) qq:511272827.
//  Copyright 2011 cc_team. All rights reserved.
//
#ifndef CC_MALLOC_H
#define CC_MALLOC_H

#include "cc_common.h"
#include "cc_stdlib.h"

__BEGIN_DECLS

void * __cdecl cc_malloc(
	size_t size
);

void __cdecl cc_free(
	void *memBlock
);

void * __cdecl cc_calloc(
	size_t cnt,
	size_t size
	);

void * __cdecl cc_realloc(
	void *memBlock,
	size_t newSize
	);

__END_DECLS


#ifdef __cplusplus
void operator delete(void *p);
#endif

#endif